<template>
  <div class="page-index">
    home
    <el-button @click="goto">跳转到 about 页面</el-button>
  </div>
</template>
<script lang="ts" setup>
import { useRouter } from 'vue-router';

const router = useRouter();
const goto = () => router.push("/about");

</script>
<style>
.page-index {
  padding-top: 60px;
  text-align: center;
}
</style>
